package com.ybkj.daijia.server.service;


import com.ybkj.daijia.server.model.PhoneSmsRecord;

/**
 * @author Shine
 */
public interface PhoneSmsRecordService {

    /**
     * @param admin
     * @return
     */
    public void save(PhoneSmsRecord phoneSmsRecord);

    /**
     * @param phone
     * @return WXPhoneRecord 根据电话号码查找是否有记录
     */
    public PhoneSmsRecord findByPhone(String phone);

    /**
     * @param phone
     * @return 根据电话号删除相应记录
     */
    public void deleteByPhone(String phone);

    /**
     * @param WXPhoneRecord
     * @return 更新一条记录
     */
    public void update(PhoneSmsRecord phoneSmsRecord);

}
